import prompt from '@system.prompt';
export default {
    data: {
        cropperOpt: {
            id: 'cropper',
            targetId: 'targetCropper',
            pixelRatio: 1,
            width: 720,
            height: 720,
            scale: 2.5,
            zoom: 8
        }
    },
    onInit(){

    },
    uploadTap(){
        prompt.showToast({
            message: '加载中',
            duration: 20000,
        });
    },


    getCropperImage(){
        this.$child('wecropper').getCropperImage()
    }

}
